/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package de.tordroid.model;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Root;

/**
 *
 * @author Christian Simon
 */
@Root
public class Planet {
    @Attribute
    private String titel;
    @Attribute(required=false)
    private String sektor;
    @Attribute
    private String system;
    @Attribute(required=false)
    private String coordinates;

    public Planet()
    {
        this.titel = "None";
        this.system = "None";
    }
    
    /**
     * @return the titel
     */
    public String getTitel() {
        return titel;
    }

    /**
     * @param titel the titel to set
     */
    public void setTitel(String titel) {
        this.titel = titel;
    }

    /**
     * @return the sektor
     */
    public String getSektor() {
        return sektor;
    }

    /**
     * @param sektor the sektor to set
     */
    public void setSektor(String sektor) {
        this.sektor = sektor;
    }

    /**
     * @return the system
     */
    public String getSystem() {
        return system;
    }

    /**
     * @param system the system to set
     */
    public void setSystem(String system) {
        this.system = system;
    }

    /**
     * @return the coordinates
     */
    public String getCoordinates() {
        return coordinates;
    }

    /**
     * @param coordinates the coordinates to set
     */
    public void setCoordinates(String coordinates) {
        this.coordinates = coordinates;
    }
    
}
